3.2.43 \(\int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx\) [143]

3.2.43.1 Optimal result
3.2.43.2 Mathematica [B] (warning: unable to verify)
3.2.43.3 Rubi [A] (verified)
3.2.43.4 Maple [F]
3.2.43.5 Fricas [F]
3.2.43.6 Sympy [F]
3.2.43.7 Maxima [F]
3.2.43.8 Giac [F(-2)]
3.2.43.9 Mupad [F(-1)]

3.2.43.1 Optimal result

Integrand size = 25, antiderivative size = 120 \[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=-\frac {2 e \operatorname {AppellF1}\left (\frac {5}{2},\frac {1-m}{2},\frac {4-m}{2},\frac {7}{2},\cos (c+d x),-\cos (c+d x)\right ) (1-\cos (c+d x))^{\frac {1-m}{2}} \cos ^2(c+d x) (1+\cos (c+d x))^{1-\frac {m}{2}} (e \sin (c+d x))^{-1+m}}{5 a d \sqrt {a+a \sec (c+d x)}} \]

output
-2/5*e*AppellF1(5/2,2-1/2*m,-1/2*m+1/2,7/2,-cos(d*x+c),cos(d*x+c))*(1-cos( 
d*x+c))^(-1/2*m+1/2)*cos(d*x+c)^2*(1+cos(d*x+c))^(1-1/2*m)*(e*sin(d*x+c))^ 
(-1+m)/a/d/(a+a*sec(d*x+c))^(1/2)
 
3.2.43.2 Mathematica [B] (warning: unable to verify)

Leaf count is larger than twice the leaf count of optimal. \(484\) vs. \(2(120)=240\).

Time = 2.32 (sec) , antiderivative size = 484, normalized size of antiderivative = 4.03 \[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=\frac {4 (3+m) \left (\operatorname {AppellF1}\left (\frac {1+m}{2},-\frac {1}{2},m,\frac {3+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )-2 \operatorname {AppellF1}\left (\frac {1+m}{2},-\frac {1}{2},1+m,\frac {3+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )\right ) \cos ^3\left (\frac {1}{2} (c+d x)\right ) \sin \left (\frac {1}{2} (c+d x)\right ) (e \sin (c+d x))^m}{d (1+m) \left (-4 (3+m) \operatorname {AppellF1}\left (\frac {1+m}{2},-\frac {1}{2},1+m,\frac {3+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right ) \cos ^2\left (\frac {1}{2} (c+d x)\right )+\left (2 m \operatorname {AppellF1}\left (\frac {3+m}{2},-\frac {1}{2},1+m,\frac {5+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )-4 (1+m) \operatorname {AppellF1}\left (\frac {3+m}{2},-\frac {1}{2},2+m,\frac {5+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )+\operatorname {AppellF1}\left (\frac {3+m}{2},\frac {1}{2},m,\frac {5+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )-2 \operatorname {AppellF1}\left (\frac {3+m}{2},\frac {1}{2},1+m,\frac {5+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )\right ) (-1+\cos (c+d x))+(3+m) \operatorname {AppellF1}\left (\frac {1+m}{2},-\frac {1}{2},m,\frac {3+m}{2},\tan ^2\left (\frac {1}{2} (c+d x)\right ),-\tan ^2\left (\frac {1}{2} (c+d x)\right )\right ) (1+\cos (c+d x))\right ) (a (1+\sec (c+d x)))^{3/2}} \]

input
Integrate[(e*Sin[c + d*x])^m/(a + a*Sec[c + d*x])^(3/2),x]
 
output
(4*(3 + m)*(AppellF1[(1 + m)/2, -1/2, m, (3 + m)/2, Tan[(c + d*x)/2]^2, -T 
an[(c + d*x)/2]^2] - 2*AppellF1[(1 + m)/2, -1/2, 1 + m, (3 + m)/2, Tan[(c 
+ d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Cos[(c + d*x)/2]^3*Sin[(c + d*x)/2]*(e* 
Sin[c + d*x])^m)/(d*(1 + m)*(-4*(3 + m)*AppellF1[(1 + m)/2, -1/2, 1 + m, ( 
3 + m)/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Cos[(c + d*x)/2]^2 + (2 
*m*AppellF1[(3 + m)/2, -1/2, 1 + m, (5 + m)/2, Tan[(c + d*x)/2]^2, -Tan[(c 
 + d*x)/2]^2] - 4*(1 + m)*AppellF1[(3 + m)/2, -1/2, 2 + m, (5 + m)/2, Tan[ 
(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] + AppellF1[(3 + m)/2, 1/2, m, (5 + m) 
/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] - 2*AppellF1[(3 + m)/2, 1/2, 
1 + m, (5 + m)/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*(-1 + Cos[c + 
d*x]) + (3 + m)*AppellF1[(1 + m)/2, -1/2, m, (3 + m)/2, Tan[(c + d*x)/2]^2 
, -Tan[(c + d*x)/2]^2]*(1 + Cos[c + d*x]))*(a*(1 + Sec[c + d*x]))^(3/2))
 
3.2.43.3 Rubi [A] (verified)

Time = 0.66 (sec) , antiderivative size = 180, normalized size of antiderivative = 1.50, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {3042, 4364, 3042, 3365, 152, 152, 150}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {(e \sin (c+d x))^m}{(a \sec (c+d x)+a)^{3/2}} \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int \frac {\left (e \cos \left (c+d x-\frac {\pi }{2}\right )\right )^m}{\left (a-a \csc \left (c+d x-\frac {\pi }{2}\right )\right )^{3/2}}dx\)

\(\Big \downarrow \) 4364

\(\displaystyle \frac {\sqrt {a (-\cos (c+d x))-a} \int \frac {(-\cos (c+d x))^{3/2} (e \sin (c+d x))^m}{(-\cos (c+d x) a-a)^{3/2}}dx}{\sqrt {-\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}\)

\(\Big \downarrow \) 3042

\(\displaystyle \frac {\sqrt {a (-\cos (c+d x))-a} \int \frac {\left (-e \cos \left (c+d x+\frac {\pi }{2}\right )\right )^m \left (-\sin \left (c+d x+\frac {\pi }{2}\right )\right )^{3/2}}{\left (-\sin \left (c+d x+\frac {\pi }{2}\right ) a-a\right )^{3/2}}dx}{\sqrt {-\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}\)

\(\Big \downarrow \) 3365

\(\displaystyle -\frac {e (a (-\cos (c+d x))-a)^{\frac {1-m}{2}+\frac {1}{2}} (a \cos (c+d x)-a)^{\frac {1-m}{2}} (e \sin (c+d x))^{m-1} \int (-\cos (c+d x))^{3/2} (-\cos (c+d x) a-a)^{\frac {m-4}{2}} (a \cos (c+d x)-a)^{\frac {m-1}{2}}d\cos (c+d x)}{d \sqrt {-\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}\)

\(\Big \downarrow \) 152

\(\displaystyle -\frac {e (\cos (c+d x)+1)^{-m/2} (a (-\cos (c+d x))-a)^{\frac {1-m}{2}+\frac {m}{2}+\frac {1}{2}} (a \cos (c+d x)-a)^{\frac {1-m}{2}} (e \sin (c+d x))^{m-1} \int (-\cos (c+d x))^{3/2} (\cos (c+d x)+1)^{\frac {m-4}{2}} (a \cos (c+d x)-a)^{\frac {m-1}{2}}d\cos (c+d x)}{a^2 d \sqrt {-\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}\)

\(\Big \downarrow \) 152

\(\displaystyle -\frac {e (1-\cos (c+d x))^{\frac {1-m}{2}} (\cos (c+d x)+1)^{-m/2} (a (-\cos (c+d x))-a)^{\frac {1-m}{2}+\frac {m}{2}+\frac {1}{2}} (a \cos (c+d x)-a)^{\frac {1-m}{2}+\frac {m-1}{2}} (e \sin (c+d x))^{m-1} \int (1-\cos (c+d x))^{\frac {m-1}{2}} (-\cos (c+d x))^{3/2} (\cos (c+d x)+1)^{\frac {m-4}{2}}d\cos (c+d x)}{a^2 d \sqrt {-\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}\)

\(\Big \downarrow \) 150

\(\displaystyle \frac {2 e \cos ^2(c+d x) (1-\cos (c+d x))^{\frac {1-m}{2}} (\cos (c+d x)+1)^{-m/2} (a (-\cos (c+d x))-a)^{\frac {1-m}{2}+\frac {m}{2}+\frac {1}{2}} (a \cos (c+d x)-a)^{\frac {1-m}{2}+\frac {m-1}{2}} \operatorname {AppellF1}\left (\frac {5}{2},\frac {1-m}{2},\frac {4-m}{2},\frac {7}{2},\cos (c+d x),-\cos (c+d x)\right ) (e \sin (c+d x))^{m-1}}{5 a^2 d \sqrt {a \sec (c+d x)+a}}\)

input
Int[(e*Sin[c + d*x])^m/(a + a*Sec[c + d*x])^(3/2),x]
 
output
(2*e*AppellF1[5/2, (1 - m)/2, (4 - m)/2, 7/2, Cos[c + d*x], -Cos[c + d*x]] 
*(1 - Cos[c + d*x])^((1 - m)/2)*Cos[c + d*x]^2*(-a - a*Cos[c + d*x])^(1/2 
+ (1 - m)/2 + m/2)*(-a + a*Cos[c + d*x])^((1 - m)/2 + (-1 + m)/2)*(e*Sin[c 
 + d*x])^(-1 + m))/(5*a^2*d*(1 + Cos[c + d*x])^(m/2)*Sqrt[a + a*Sec[c + d* 
x]])
 

3.2.43.3.1 Defintions of rubi rules used

rule 150
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_)*((e_) + (f_.)*(x_))^(p_), x_ 
] :> Simp[c^n*e^p*((b*x)^(m + 1)/(b*(m + 1)))*AppellF1[m + 1, -n, -p, m + 2 
, (-d)*(x/c), (-f)*(x/e)], x] /; FreeQ[{b, c, d, e, f, m, n, p}, x] &&  !In 
tegerQ[m] &&  !IntegerQ[n] && GtQ[c, 0] && (IntegerQ[p] || GtQ[e, 0])
 

rule 152
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_)*((e_) + (f_.)*(x_))^(p_), x_ 
] :> Simp[c^IntPart[n]*((c + d*x)^FracPart[n]/(1 + d*(x/c))^FracPart[n]) 
Int[(b*x)^m*(1 + d*(x/c))^n*(e + f*x)^p, x], x] /; FreeQ[{b, c, d, e, f, m, 
 n, p}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] &&  !GtQ[c, 0]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 3365
Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((d_.)*sin[(e_.) + (f_.)*(x_)])^(n 
_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[g*((g*Cos 
[e + f*x])^(p - 1)/(f*(a + b*Sin[e + f*x])^((p - 1)/2)*(a - b*Sin[e + f*x]) 
^((p - 1)/2)))   Subst[Int[(d*x)^n*(a + b*x)^(m + (p - 1)/2)*(a - b*x)^((p 
- 1)/2), x], x, Sin[e + f*x]], x] /; FreeQ[{a, b, d, e, f, m, n, p}, x] && 
EqQ[a^2 - b^2, 0] &&  !IntegerQ[m]
 

rule 4364
Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + 
(a_))^(m_), x_Symbol] :> Simp[Sin[e + f*x]^FracPart[m]*((a + b*Csc[e + f*x] 
)^FracPart[m]/(b + a*Sin[e + f*x])^FracPart[m])   Int[(g*Cos[e + f*x])^p*(( 
b + a*Sin[e + f*x])^m/Sin[e + f*x]^m), x], x] /; FreeQ[{a, b, e, f, g, m, p 
}, x] && (EqQ[a^2 - b^2, 0] || IntegersQ[2*m, p])
 
3.2.43.4 Maple [F]

\[\int \frac {\left (e \sin \left (d x +c \right )\right )^{m}}{\left (a +a \sec \left (d x +c \right )\right )^{\frac {3}{2}}}d x\]

input
int((e*sin(d*x+c))^m/(a+a*sec(d*x+c))^(3/2),x)
 
output
int((e*sin(d*x+c))^m/(a+a*sec(d*x+c))^(3/2),x)
 
3.2.43.5 Fricas [F]

\[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=\int { \frac {\left (e \sin \left (d x + c\right )\right )^{m}}{{\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]

input
integrate((e*sin(d*x+c))^m/(a+a*sec(d*x+c))^(3/2),x, algorithm="fricas")
 
output
integral(sqrt(a*sec(d*x + c) + a)*(e*sin(d*x + c))^m/(a^2*sec(d*x + c)^2 + 
 2*a^2*sec(d*x + c) + a^2), x)
 
3.2.43.6 Sympy [F]

\[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=\int \frac {\left (e \sin {\left (c + d x \right )}\right )^{m}}{\left (a \left (\sec {\left (c + d x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \]

input
integrate((e*sin(d*x+c))**m/(a+a*sec(d*x+c))**(3/2),x)
 
output
Integral((e*sin(c + d*x))**m/(a*(sec(c + d*x) + 1))**(3/2), x)
 
3.2.43.7 Maxima [F]

\[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=\int { \frac {\left (e \sin \left (d x + c\right )\right )^{m}}{{\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {3}{2}}} \,d x } \]

input
integrate((e*sin(d*x+c))^m/(a+a*sec(d*x+c))^(3/2),x, algorithm="maxima")
 
output
integrate((e*sin(d*x + c))^m/(a*sec(d*x + c) + a)^(3/2), x)
 
3.2.43.8 Giac [F(-2)]

Exception generated. \[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=\text {Exception raised: RuntimeError} \]

input
integrate((e*sin(d*x+c))^m/(a+a*sec(d*x+c))^(3/2),x, algorithm="giac")
 
output
Exception raised: RuntimeError >> an error occurred running a Giac command 
:INPUT:sage2OUTPUT:Unable to divide, perhaps due to rounding error%%%{%%%{ 
%%{poly1[1,0]:[1,0,-2]%%},[5,12]%%%}+%%%{%%{[6,0]:[1,0,-2]%%},[5,10]%%%}+% 
%%{%%{[15,0]
 
3.2.43.9 Mupad [F(-1)]

Timed out. \[ \int \frac {(e \sin (c+d x))^m}{(a+a \sec (c+d x))^{3/2}} \, dx=\int \frac {{\left (e\,\sin \left (c+d\,x\right )\right )}^m}{{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{3/2}} \,d x \]

input
int((e*sin(c + d*x))^m/(a + a/cos(c + d*x))^(3/2),x)
 
output
int((e*sin(c + d*x))^m/(a + a/cos(c + d*x))^(3/2), x)